package com.magnificent.atlantis.client.ui.common;

import com.magnificent.helpers.swing.TableHelper;

import javax.swing.*;
import javax.swing.table.TableModel;
import java.awt.*;

/**
 * User: Babanin
 * Date: 06.02.2009
 * Time: 23:46:49
 */
public class DependencyTaskTable extends JTable {
    public DependencyTaskTable(TableModel taskTableModel) {
        super(taskTableModel);

        setGridColor(Color.BLACK);
    }

    @Override
    public void setModel(TableModel dataModel) {
        super.setModel(dataModel);
        TableHelper.setFixedColumnSize(this, 0, 45);
    }
}
